import http from "../utils/http/service";
// import qs from "qs";

// ----------------------------工作台相关--------------------------------------------

// 获取待办事项
export const postContractTodoList = (data): any => {
  return http.post("/snow-admin/arrivedAcceptance/contractTodoList", data);
};

// 获取已办事项
export const postContractFinishList = (data): any => {
  return http.post("/snow-admin/arrivedAcceptance/contractFinishList", data);
};

// 审批中心接口
export const postBills = (data): any => {
  return http.post("/snow-admin/flow/common/approve/bills", data);
};

// 查询操作人待阅、已阅列表
export const flowQueryNotify = (data): any => {
  return http.post(`/snow-admin/flow/common/queryNotify`, data);
};

// 知会发起
export const flowNotify = (data): any => {
  return http.post(`/snow-admin/flow/common/notify`, data);
};

// 知会标记为已阅
export const flowNotifyRead = (data): any => {
  return http.post(`/snow-admin/flow/common/notifyRead`, data);
};
